package cn.bdqn.service;

import cn.bdqn.pojo.ItripHotelOrder;
import cn.bdqn.util.Page;
import cn.bdqn.util.PageUtil;
import cn.bdqn.vo.ItripHotelOrderEx;

/**
 * Created by Administrator on 2018/8/22.
 */
public interface OrderSearchService {
    /**
     * 模糊查询订单信息
     * @return
     */
    Page getHotelOrderListByPage(String currentPage,String pageSize, ItripHotelOrderEx itripHotelOrderEx);

    /**
     * 获取符合条件的酒店订单记录数
     * @param itripHotelOrderEx
     * @return
     */
    Long getTotalHotelOrderCountByEx(ItripHotelOrderEx itripHotelOrderEx);

    /**
     * 通过主键ID获取订单对象
     * @param id
     * @return
     */
    ItripHotelOrder getByPrimaryKey(Long id);
}
